﻿<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>来加健康服务网_用户登录</title>
<meta name="Keywords" content="来加健康服务网">
<meta name="Description" content="来加健康服务网">
<meta name="applicable-device"content="mobile">
<!-- 移动设备支持 -->
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
<meta content="no-cache,must-revalidate" http-equiv="Cache-Control">
<meta content="no-cache" http-equiv="pragma">
<meta content="0" http-equiv="expires">
<meta content="telephone=no, address=no" name="format-detection">
<!--<meta name="apple-mobile-web-app-capable" content="yes"> -->
<!--<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">-->
    <meta name="apple-touch-fullscreen" content="yes">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <!--<meta name="x5-fullscreen" content="true">-->
<!-- <base href="basePath"> -->
<link href="Public/mobile/css/common.css?64" rel="stylesheet" type="text/css">
<link href="Public/mobile/css/new.css?65" rel="stylesheet" type="text/css">
<link href="Public/mobile/js/layer/need/layer.css" rel="stylesheet" type="text/css">
<link href="Public/mobile/js/layerModel/layerModel.css" rel="stylesheet" type="text/css">

<link href="Public/mobile/css/login.css" rel="stylesheet" type="text/css">
</head>

<body>
<header class="header">
    <a class="fh_btn"  href="javascript:(0)"></a>
      <h2>登录</h2>
    <a class="hom_icon" href="Index.html"></a>
</header>
<!-- <script>
    $(".fh_btn").click(function(){
        window.history.go(-1);
    })
</script> -->
<div style="height:50px"></div>
  
<div class="loginbox">
  <div class="login_t">
    <img class="logo1" width="80" src="Public/mobile/images/logo1.png">
  </div>
  <form id="login_form">
  <div class="login_m">
    <input class="login_input" placeholder="请输入手机号码" type="text" name="mob" />
    <input class="login_input" placeholder="请输入登录密码" type="password" name="pwd" />
  </div>
  <label class="fl jzmm"><input name="isauto" value="1" type="checkbox" checked >下次自动登录</label>
  </form>
  <a class="wjmm_btn" href="forget_password.html">忘记密码</a>
  <div class="clear"></div>
  <a id="login_btn" class="login_btn" href="javascript:;">登录</a>
  <a class="dx_login" href="sms_vcode_login.html">短信验证码登录</a>
  <a class="dx_reg" href="register.html">新用户注册</a>
  <div class="clear"></div>
  <!-- <div class="or_bor">
    <i>OR</i>
  </div>
  <div class="qq_loginbox">
    <a class="qqlogin" href="javascript:;">QQ登陆</a>
  </div> -->
</div>
<script type="text/javascript">
  // 定义一些常量
  var __appId = "";			        // 必填，公众号的唯一标识
  var __timestamp = ""; 	// 必填，生成签名的时间戳
  var __nonceStr = ""; 		// 必填，生成签名的随机串
  var __signature = "";	// 必填，签名，见附录1
  var __public='/Public';
  var __baiduak="FE5a0df097aaacb5b50fe2c75fd2de0f";
  var __refererType__="normal";
  var __indexUrl__="/";//默认的首页地址,即当返回到顶层时的地址
</script>
<script type="text/javascript" src="http://libs.baidu.com/jquery/1.9.1/jquery.min.js"></script>
<!-- <script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> -->
<script type="text/javascript" src="Public/mobile/js/My97DatePicker/WdatePicker.js"></script> 
<script type="text/javascript" src="Public/mobile/js/layer/layer.js"></script> 
<script type="text/javascript" src="Public/mobile/js/layerModel/jquery.layerModel.js"></script> 
<script type="text/javascript" src="Public/mobile/js/jquery.scrollLoading.js"></script>
<script type="text/javascript" src="Public/mobile/js/jquery.cookie.js"></script>
<script type="text/javascript">
    if(__refererType__=="weixin"){
        document.write('<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"><\/script>');
    }
</script>
<script type="text/javascript" src="Public/mobile/js/common.js?72"></script>

  <script type="text/javascript" src="Public/mobile/js/login.js"></script>
<script type="text/javascript">
    //解析事sem推广
    var hash=location.hash;
    var reg=new RegExp("sem_(bd|360|sg|jt|sm)_(.*)?");
    if(reg.test(hash)){
        var matchs=reg.exec(hash);
        $.get("/Sem/submit",{channel:matchs[1],keys:matchs[2]},function(){
        });
    }
</script>
<div style="display:none">
    <!--统计代码-->
    <img src="http://c.cnzz.com/wapstat.php?siteid=1253083248&r=http%3A%2F%2Fm.viptijian.com%2F0591&rnd=1178185201" width="0" height="0"/>    <!--百度统计代码-->
        <img src="http://hm.baidu.com/hm.gif?si=e23220b7e728f5512d935dd4b95e539d&amp;et=0&amp;nv=0&amp;st=4&amp;lt=1476430777&amp;su=http%3A%2F%2Fm.viptijian.com%2F0591&amp;v=wap-0-0.2&amp;rnd=2492749459" width="0" height="0" />
</div>
<script type="text/javascript">
    // 新的百度统计代码
    var _hmt = _hmt || [];
    (function() {
        var hm = document.createElement("script");
        hm.src = "//hm.baidu.com/hm.js?da5f5c0399ed040f41e88552ab48d766";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>
<!--腾讯统计代码-->
<script type="text/javascript" src="http://tajs.qq.com/stats?sId=58654145" charset="UTF-8"></script>
<script>  

</script>
<script type="text/javascript">
  var ComeUrl=lcase(trim(request.ServerVariables("HTTP_REFERER")))
    function () {
        $("#login_btn").click(function () {
            $.ajax({
                url: 'http://localhost:39106/api/login',
                type: 'post',
                data: { name: 'admin', pwd: 'admin' },
                success: function (data) {
                    if(data.Code==1){
                        //跳转到Index
                        // alert(data.Msg);
                        // 跳转到历史上一页；
                        response.redirect ('ComeUrl');
                    }
                    else{
                        //提示错误信息
                        alert(data.Msg);
                    }
                }
            });
        });
    };
</script>

</body>
</html>